package artid.com.arttogo.bean;

import java.io.Serializable;
import org.json.JSONObject;

/**
 * 选择支付实体类
 */
public class InfoOrder extends AppItem implements Serializable {
    String order_id;
    String order_sn;
    String order_state;
    String add_time;
    String goods_image;
    String goods_name;
    String goods_price;
    String payment_id;
    String true_name;
    String mob_phone;
    String address;
    int restime;
    String gc_name;
    String goods_size;
    String e_name;
    @Override
    public void parse(JSONObject obj) {
        if (null == obj) {
            return;
        }
        order_id = obj.optString("order_id");
        order_sn = obj.optString("order_sn");
        order_state = obj.optString("order_state");
        add_time = obj.optString("add_time");
        goods_image = obj.optString("goods_image");
        goods_name = obj.optString("goods_name");
        goods_price = obj.optString("goods_price");
        payment_id = obj.optString("payment_id");
        true_name = obj.optString("true_name");
        mob_phone = obj.optString("mob_phone");
        address = obj.optString("address");
        restime = obj.optInt("restime");
        gc_name =  obj.optString("gc_name");
        goods_size =  obj.optString("goods_size");
        e_name = obj.optString("e_name");

    }



    public String getE_name() {
        return e_name;
    }



    public void setE_name(String e_name) {
        this.e_name = e_name;
    }



    public String getGc_name() {
        return gc_name;
    }



    public void setGc_name(String gc_name) {
        this.gc_name = gc_name;
    }



    public String getGoods_size() {
        return goods_size;
    }



    public void setGoods_size(String goods_size) {
        this.goods_size = goods_size;
    }



    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getOrder_sn() {
        return order_sn;
    }

    public void setOrder_sn(String order_sn) {
        this.order_sn = order_sn;
    }

    public String getOrder_state() {
        return order_state;
    }

    public void setOrder_state(String order_state) {
        this.order_state = order_state;
    }

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public String getGoods_image() {
        return goods_image;
    }

    public void setGoods_image(String goods_image) {
        this.goods_image = goods_image;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(String goods_price) {
        this.goods_price = goods_price;
    }

    public String getPayment_id() {
        return payment_id;
    }

    public void setPayment_id(String payment_id) {
        this.payment_id = payment_id;
    }

    public String getTrue_name() {
        return true_name;
    }

    public void setTrue_name(String true_name) {
        this.true_name = true_name;
    }

    public String getMob_phone() {
        return mob_phone;
    }

    public void setMob_phone(String mob_phone) {
        this.mob_phone = mob_phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getRestime() {
        return restime;
    }

    public void setRestime(int restime) {
        this.restime = restime;
    }

}
